package com.sxpi.course.vo;

import com.sxpi.common.anno.PugDoc;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author: 董伟豪
 * @Date: 2022/11/16 19:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CoursePriseVo implements java.io.Serializable {

    private Long id;
    private Long courseId;
    @PugDoc(name = "点赞用户")
    private Long userId;
    @PugDoc(name = "点赞时间")
    private Date pariseTime;
    @PugDoc(name = "点赞状态")
    private Integer status;
    @PugDoc(name = "点赞是否有效")
    private Integer isActive;
    @PugDoc(name = "课程标题")
    private String courseTitle;
    @PugDoc(name = "课程封面")
    private String courseImg;
    @PugDoc(name = "用户姓名")
    private String username;
    @PugDoc(name = "用户头像")
    private String useravatar;
    @PugDoc(name = "发布时间")
    private Date createTime;
    @PugDoc(name = "更新时间")
    private Date updateTime;
}
